package com.snack.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.snack.common.result.Result;
import com.snack.entity.pojo.User;
import jakarta.servlet.http.HttpServletRequest;

import java.net.http.HttpRequest;

/**
 * @author huangfuhao
 * @Date 2025/3/13
 */

public interface LoginService extends IService<User> {
    Result login(User user);

    Result logout(HttpServletRequest request);

}
